package com.cynteka.cyfoman.core.collection;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Map;

/**
 * User: Sergey
 * Date: 03.08.11
 * Time: 17:01
 */
public class MemoryCollection<T> extends BaseCollection<T> {
    private Collection items = new ArrayList();

    public MemoryCollection(String id) {
        super(id);
    }

    @Override
    public Collection<T> getItems(Map<String, Object> params) {
        return items;
    }

    public void setItems(Collection items) {
        this.items = items;
    }
}
